import scipy
#线性代数及其应用1.2 34
import numpy as np
a=np.array([[0,0,0,0,0,0],[2,4,8,16,32,64],[4,16,64,64*4,64*16,64*64],[6,36,216,216*6,216*36,216*36],[8,64,512,512*8,512*64,512*512],[10,100,1000,10000,100000,1000000]])
b=np.array([0,2.90,14.8,39.6,74.3,119])
from scipy import linalg
x = linalg.solve(a, b)
print(x)